const Axios = require('axios')
Axios({
    url: "https://gitee.com/oauth/token",
    method: 'post',
    data: {
        grant_type: 'password',
        username: '',
        password: '',
        client_id: '',
        client_secret: '',
        scope: '',
    }
}).then(res => {
    console.log(res.data);
}).catch(err => {
    console.log(err.response.data);
})